package com.shinhye.mobilelottery.engine;

import com.shinhye.mobilelottery.bean.User;
import com.shinhye.mobilelottery.net.protocol.Message;

/**
 * 用户业务接口
 * @author ShinHye
 * 2014-9-23 下午6:11:35
 */
public interface UserEngine {
	
	/**
	 * Login the specified user and get the result information.
	 * @param user A user to login.
	 * @return A result Message
	 */
	Message login(User user);
	
	/**
	 * Get balance Message of a user.
	 * @param user
	 * @return
	 */
	Message balance(User user);
	
	/**
	 * Get bet Message of a user.
	 * @param user
	 * @return
	 */
	Message bet(User user);
}
